Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EXPB-2299 Speed up table lookup for huge schemas #4

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

kramerul
Copy link
Collaborator

@kramerul kramerul commented Jul 1, 2024

No description provided.

@kramerul kramerul requested a review from CoKueb July 1, 2024 07:51
public CachingLookup(Lookup<T> delegate){
this.delegate = delegate;
this.cache = CacheBuilder.newBuilder()
.expireAfterAccess(1, TimeUnit.HOURS)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should add an invalidation mechanism

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will add an invalidation.

@kramerul kramerul merged commit 84005af into calcite-1.37.0+hotfix Jul 1, 2024
4 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants